Polytool: Polynomial interpretations as a basis for termination analysis of logic programs

نویسندگان

  • Manh Thang Nguyen
  • Danny De Schreye
  • Jürgen Giesl
  • Peter Schneider-Kamp
چکیده

Our goal is to study the feasibility of porting termination analysis techniques developed for one programming paradigm to another paradigm. In this paper, we show how to adapt termination analysis techniques based on polynomial interpretations very well known in the context of term rewrite systems (TRSs) to obtain new (non-transformational) termination analysis techniques for definite logic programs (LPs). This leads to an approach that can be seen as a direct generalization of the traditional techniques in termination analysis of LPs, where linear norms and level mappings are used. Our extension generalizes these to arbitrary polynomials. We extend a number of standard concepts and results on termination analysis to the context of polynomial interpretations. We also propose a constraint-based approach for automatically generating polynomial interpretations that satisfy the termination conditions. Based on this approach, we implemented a new tool, called Polytool, for automatic termination analysis of LPs.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Polynomial Interpretations as a Basis for Termination Analysis of Logic Programs

This paper introduces a new technique for termination analysis of definite logic programs (LPs) based on polynomial interpretations. The principle of this technique is to map each function and predicate symbol to a polynomial over some subset of natural numbers, like it has been done in proving termination of term rewriting systems. Such polynomial interpretations can be seen as a direct genera...

متن کامل

Polytool: Proving Termination Automatically Based on Polynomial Interpretations

In this system description, we present Polytool, a fully automated system for proving left-termination of definite logic programs (LPs). The aim of Polytool is to extend the power of existing termination analysers by using well-founded orders based on polynomial interpretations. This is a direct extension of the well-founded orders based on (semi-)linear level mappings and norms that are used i...

متن کامل

Termination prediction for general logic programs

We present a heuristic framework for attacking the undecidable termination problem of logic programs, as an alternative to current termination/non-termination proof approaches. We introduce an idea of termination prediction, which predicts termination of a logic program in case that neither a termination nor a non-termination proof is applicable. We establish a necessary and sufficient characte...

متن کامل

Termination Analysis of Logic Programs Based on Dependency Graphs

This paper introduces a modular framework for termination analysis of logic programming. To this end, we adapt the notions of dependency pairs and dependency graphs (which were developed for term rewriting) to the logic programming domain. The main idea of the approach is that termination conditions for a program are established based on the decomposition of its dependency graph into its strong...

متن کامل

Intensional properties of polygraphs

We present polygraphic programs, a subclass of Albert Burroni’s polygraphs, as a computational model, showing how these objects can be seen as first-order functional programs. We prove that the model is Turing complete. We use polygraphic interpretations, a termination proof method introduced by the second author, to characterize polygraphic programs that compute in polynomial time. We conclude...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • TPLP

دوره 11  شماره 

صفحات  -

تاریخ انتشار 2011